/**
 * 
 */
package org.hilo.boot.core.code;

import org.hilo.boot.core.UT;

/**
 * 
 * @author zollty
 * @since 2018年6月19日
 */
public class ConfigBuilder {
    
    private String baseDir;
    
    private boolean fileOverride;
    
    private ServiceInfo serviceInfo;
    
    private String serviceTmplPath;
    
    private String entityTmplPath;
    
    private EntityInfo paramsInfo;
    
    private EntityInfo resultsInfo;
    
    /**
     * @return the serviceInfo
     */
    public ServiceInfo getServiceInfo() {
        return serviceInfo;
    }

    /**
     * @param serviceInfo the serviceInfo to set
     */
    public void setServiceInfo(ServiceInfo serviceInfo) {
        this.serviceInfo = serviceInfo;
    }

    /**
     * @return the paramsInfo
     */
    public EntityInfo getParamsInfo() {
        return paramsInfo;
    }

    /**
     * @param paramsInfo the paramsInfo to set
     */
    public void setParamsInfo(EntityInfo paramsInfo) {
        this.paramsInfo = paramsInfo;
    }

    /**
     * @return the resultsInfo
     */
    public EntityInfo getResultsInfo() {
        return resultsInfo;
    }

    /**
     * @param resultsInfo the resultsInfo to set
     */
    public void setResultsInfo(EntityInfo resultsInfo) {
        this.resultsInfo = resultsInfo;
    }

    /**
     * @return the baseDir
     */
    public String getBaseDir() {
        return baseDir;
    }

    /**
     * @param baseDir the baseDir to set
     */
    public void setBaseDir(String baseDir) {
        this.baseDir = UT.Path.normalPath(baseDir);
    }

    /**
     * @return the serviceTmplPath
     */
    public String getServiceTmplPath() {
        return serviceTmplPath;
    }

    /**
     * @param serviceTmplPath the serviceTmplPath to set
     */
    public void setServiceTmplPath(String serviceTmplPath) {
        this.serviceTmplPath = serviceTmplPath;
    }

    /**
     * @return the entityTmplPath
     */
    public String getEntityTmplPath() {
        return entityTmplPath;
    }

    /**
     * @param entityTmplPath the entityTmplPath to set
     */
    public void setEntityTmplPath(String entityTmplPath) {
        this.entityTmplPath = entityTmplPath;
    }

    /**
     * @return the fileOverride
     */
    public boolean isFileOverride() {
        return fileOverride;
    }

    /**
     * @param fileOverride the fileOverride to set
     */
    public void setFileOverride(boolean fileOverride) {
        this.fileOverride = fileOverride;
    }

}
